package eliauk.fun.flowabledemo.dto.form;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class LeaveForm implements Serializable {
    private String processInstanceId;
    private String name;
    private String reason;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    private Double days;
}
